package com.kingdee.eas.custom.util;

/**
 * @author lifetime 2009-2-21
 * 
 */
public class ImportVoucherState {
	public static final String MsgType_System = "System";
	public static final String MsgType_VoucherImportUtil = "VoucherImportUtil";
	private boolean state;
	private String msg;
	private String msgType;

	public ImportVoucherState() {
		this(false, null);
	}

	public ImportVoucherState(boolean state, String msg) {
		this(state, msg, MsgType_System);
	}

	public ImportVoucherState(boolean state, String msg, String msgType) {
		this.msg = msg;
		this.state = state;
		this.msgType = msgType;
	}

	public boolean isState() {
		return this.state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getMsg() {
		return this.msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}